package com.pkk;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

/**
 * @description: 网关启动类
 * @author: peikunkun
 * @create: 2019-08-02 18:40
 **/
//EnableDiscoveryClient可以使不同于eureka的服务进行注册
@EnableHystrix
@EnableDiscoveryClient
@SpringBootApplication
public class CloudSupportGatawaySpringApplication {

  public static void main(String[] args) {
    SpringApplication.run(CloudSupportGatawaySpringApplication.class, args);
  }

}
